<?php
$this->title = "My Smtp";
$this->headTitle = ($this->title);
?>
<P>
	<a href="<?php echo $this->url(array('controller' => 'Smtp', 
		'action' => 'add'));?>">Add new smtp</a>
</P>
<table>
	<tr>
		<th>Server</th>
		<th>Port</th>
		<th>Username</th>
		<th>Password</th>
		<th>Tls</th>
		<th>&nbsp;</th>
	</tr>
	<?php foreach ($this->smtps as $smtp) : ?>
	<tr>
		<td><?php echo $this->escape($smtp->server);?></td>
		<td><?php echo $this->escape($smtp->port);?></td>
		<td><?php echo $this->escape($smtp->username);?></td>
		<td><?php echo $this->escape($smtp->password);?></td>
		<td><?php echo $this->escape($smtp->tls);?></td>
		<td>
			<a href = "<?php echo $this->url(array('controller' => 'Smtp',
					'action' => 'edit', 'id' => $smtp->id ));?>">Edit</a>
			<a href = "<?php echo $this->url(array('controller' => 'Smtp',
					'action' => 'delete', 'id' => $smtp->id ));?>">Delete</a>
		</td>
	</tr>
	<?php endforeach;?>
</table>
